<template>
  <div>
    <h4>{{ productName }}</h4>
    <div style="height: 200px">
      这里是{{ productName }}详情页
      <br />
      Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem eligendi
      quae obcaecati eveniet minus saepe veritatis. Consequatur suscipit ab
      iusto reiciendis ad! Repellendus numquam modi enim. Minus doloribus autem
      explicabo?
    </div>
  </div>
</template>
<script>

export default {
  name: 'detail',
  data() {
    return {
      productName: '',
    };
  },
  created() {
    this.productName = this.$route.query.name;
  },
};
</script>
